package com.sy.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sy.pet.dto.PetQueryDTO;
import com.sy.pet.entity.PetInfo;
import com.sy.pet.vo.PetVO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liangSY
 * @since 2024-09-14
 */
@Repository
public interface PetInfoMapper extends BaseMapper<PetInfo> {

    IPage<PetVO> findByPage(Page<PetVO> page, PetQueryDTO dto);

}
